package com.xinxing.learning.datasource.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xinxing.learning.datasource.domain.query.UserOrderInfoQuery;
import com.xinxing.learning.datasource.domain.request.UserOrderInfoRequest;
import com.xinxing.learning.datasource.domain.vo.OrderInfoVO;
/**
 * 用户订单service
 */
public interface UserOrderInfoService {
    /**
     * 用户提交订单
     *
     * @param userOrderInfoRequest
     */
    void generateOrder(UserOrderInfoRequest userOrderInfoRequest);

    /**
     * 根据查询条件获得订单列表
     *
     * @param userOrderInfoQuery
     * @return
     */
    Page<OrderInfoVO> queryUserOrderInfoList(UserOrderInfoQuery userOrderInfoQuery);

}
